/**
 * Created by hythzx on 2016/1/18.
 */
Ext.define('OrderConvert.store.Order', {
    extend: 'Ext.data.Store',

    alias: 'store.orderlist',
    
    id : 'orderlist',

    fields : [
       "order_name","id","file_id","add_person","add_date","pdf_url","deleted","file_url","order_code"
    ],

    proxy: {
        type: 'ajax',
        url: OrderConvertUrl.constant.serverUrl + 'order/list',
        reader: {
            totalProperty:"totalRow",
            type: 'json',
            rootProperty: 'list'
        }
    },
    autoLoad: true
});